package org.luxor.commons.schedule.job.impl;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * 异步线程样例
 *
 * @author YanXinMing @date 2024/8/14
 */
@Service
public class AsyncTaskServiceImpl {

    @Async
    public void asyncJob() {
        System.out.println("【AsyncJob】ThreadName:{" + Thread.currentThread().getName() + "}");
    }
}
